import request from '../utils/request'
import { UserType } from '../types/zzy_types/user'
//注册请求
export const userReg = (user: UserType) => {
    return request.post('/users', user)
}
//登录请求
export const userLogin = (user: UserType) => {
    return request.post("/login", user);
};
//login三图标请求
export const userLoginimg = () => {
    return request.get("/classes/Vuelogin");
};